let xj = { name: "向军" };
console.log(xj);
console.log(xj.hasOwnProperty("name"));


//完全数据字典对象

var obj = Object.create(null, {
	name: {
		value :'后盾人',
		enumerable: true
	},
	age: {
		value: 22
	},
	show: {
		value: function() {
			return `姓名: ${this.name}, 年龄：${this.age}` ;
		}
	}
})

obj.addr = '北京'

console.log(obj)
console.log(Object.getOwnPropertyDescriptors(obj))
console.log('-------------------------------------\n')

for(var i in obj) {
	console.log(i + " : " + obj[i])
}



